
<div class="container" ng-controller="SalesForceProfileCtrl">

	<div class="row panel panel-default" ng-init="getEnabledProfile()">

		<div class="panel-body">

			<div class="col-sm-2" ng-if="enabledProfile.connected">
				<h3><span class="label label-success">Connected</span></h3>
			</div>
			<div class="col-sm-2" ng-if="!enabledProfile.connected">
				<h3><span class="label label-danger">Not Connected</span></h3>
			</div>

			<div class="col-sm-1">
				<label>Status</label>
				{{enabledProfile.status}}
			</div>
			<div class="col-sm-offset-1 col-sm-2 form-group">
				<label>Usuario</label>
			    {{enabledProfile.username}}
			</div>
			<div class="col-sm-offset-1 col-sm-2">
				<label>Conexao realizada em</label>
				{{enabledProfile.lastConnection}}
			</div>
			
			<div class="col-sm-offset-2 col-sm-10">
				    <label>Ultimo Session Id</label>
					{{enabledProfile.sessionId}}
				</div>
			</div>

		</div>
	</div>
	
</div>